From: Neil Roberts Date: Fri, 23 Mar 2012 19:14:29 +0000 (+0000) Subject: st-theme-node-drawing: Don't use GL types X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6648 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5d98e2bf04891f3d6144cceb1e26f58e72d1fc02;p=gnome-shell.git st-theme-node-drawing: Don't use GL types This swaps a use of GLfloat for a regular float. Cogl might stop including a GL header in its public headers soon so this would fix a compilation error. https://bugzilla.gnome.org/show_bug.cgi?id=672711 --- diff --git a/src/st/st-theme-node-drawing.c b/src/st/st-theme-node-drawing.c index cab254260..1ac3e39b4 100644 --- a/src/st/st-theme-node-drawing.c +++ b/src/st/st-theme-node-drawing.c @@ -1782,7 +1782,7 @@ st_theme_node_paint_sliced_border_image (StThemeNode *node, cogl_set_source (material); { - GLfloat rectangles[] = + float rectangles[] = { /* top left corner */ 0, 0, border_left, border_top,